from django.urls import path
from . import views

app_name = 'story'

urlpatterns = [
    path('', views.story_list, name='list'),
    path('create/', views.story_create, name='create'),
    path('generate/', views.story_generate, name='generate'),
    path('ranking/', views.ranking_list, name='ranking'),
    path('save-generated/', views.save_generated_story, name='save_generated'),
    path('<int:pk>/', views.story_detail, name='detail'),
    path('<int:pk>/edit/', views.story_edit, name='edit'),
    path('<int:pk>/delete/', views.story_delete, name='delete'),
    path('<int:pk>/comment/', views.story_comment, name='comment'),
    path('<int:pk>/like/', views.story_like, name='like'),
    path('<int:pk>/favorite/', views.story_favorite, name='favorite'),
    path('<int:pk>/report/', views.story_report, name='report'),
]